﻿using System;
using biz.ritter.javapi.util;
using Nofs.Net.Common.Interfaces.Domain;

namespace Nofs.Net.Domain.Impl
{

    public class ExtendedAttribute : BaseDomainObject, IExtendedAttribute
    {
        private String _name;
        private byte[] _value;

        public ExtendedAttribute(UUID parentID)
            : base()
        {
            _name = "";
            _value = null;
        }

        public String getName()
        {
            return _name;
        }

        public byte[] getValue()
        {
            return _value;
        }

        public void setName(String name)
        {
            _name = name;
        }

        public void setValue(byte[] data)
        {
            _value = data;
        }
    }
}
